package com.ccys.db.mapper;

import com.ccys.db.dto.userManagement.TblMemberAllergiesDTO;
import com.ccys.db.entity.TblMemberAllergies;
import com.ccys.db.vo.app.splashscreen.AllergiesAndMedicationReactionsMakeVo;
import com.ccys.db.vo.userManagement.TblMemberAllergiesWebVO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
 * Created by Mybatis Generator on 2023/12/18
 */
public interface TblMemberAllergiesMapper extends Mapper<TblMemberAllergies>, MySqlMapper<TblMemberAllergies> {

    List<TblMemberAllergiesWebVO> listObjectsCms(TblMemberAllergiesDTO dto);

    List<AllergiesAndMedicationReactionsMakeVo> findListAllergiesAndMedicationReactionsByMemberId(@Param("memberId") String memberId);

    void updateDelFlagTrueByMemberId(@Param("memberId") String memberId);
}